/**
 * Classe que representa o Elemento Rotulo do Layout de Mapa
 *
 * @extends Element
 * @this {Label}
 * @version
 */

Label.prototype = new Element();
function Label() {

    /**
     * Variaveis
     */
    this.x = null;
    this.y = null;
    this.text = "title";
    this.fontSize = "24";
    this.fontFamily = "Arial";
    this.fill = "#000000";
    this.fillOpacity = "1";
    this.stroke = "#000000";
    this.strokeOpacity = "1";
    this.strokeWidth = "0";
    this.textAnchor = "middle";
    this.style = "pointer-events:inherit";
    this.xmlspace = "preserve";
    
    /**
     * Inicializa o objeto da classe
     */
    this.init = function(){
        this.type = EElementType.eTLabel;
    }

    /**
     * Chamada do inicializador da classe
     */
    this.init();
}
